//
//  MainViewController.m
//  SliderViewDemo
//
//  Created by RaoQiangHua on 15/8/29.
//  Copyright (c) 2015年 RaoQiangHua. All rights reserved.
//

#import "MainViewController.h"
#import "ContainerViewController.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}


- (IBAction)showSlider:(UIButton *)sender {
    [self.fatherViewController showSlider];
}

/*点击主控制器视图，隐藏侧边栏视图*/
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    [self.fatherViewController hideSlider];
}
@end
